package tech.aistar.service.wxdaoyou;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import tech.aistar.entity.authordis.UserTable;
import tech.aistar.entity.daoyou.GuideApply;
import tech.aistar.entity.daoyou.GuideInfo;
import tech.aistar.entity.person_center.Orders;
import tech.aistar.vo.daoyou.GuideOrdersAll;

import java.util.List;

public interface Wxservice {
    //登陆
    UserTable wxgetByPhone(String phone,String password);

    //通过用户id查看账单
    List<GuideOrdersAll> wxgetOrder(String  phone);

    //通过用户id获取导游的id
    Integer getGuideId(String token);
    //查看用户是否是导游
    GuideApply getGuideById(String token);

    //获取账单
    Orders getOrders(Integer BillId);

    //核销二维码
    String delBill(String orderno,Integer id);
    //查看二维码是否被核销
    Orders checkBill(Integer billId);
    //评论
    void setOrder(Integer id,String text,Integer contentx_type );

}
